package net.huashitong.ssydt.vo;

import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.Min;
import java.io.Serializable;

/**
 * @author <a href="mailto:yhy23456@163.com">huiyang.yu</a>
 * @since 2017.08.16
 */
public class BaseLongIdPagingVO implements Serializable {

    private static final long serialVersionUID = 2890878689841536354L;

    @ApiModelProperty(value = "列表最后一个id")
    @Min(1)
    private Long lastId;//列表最后一个id

    @ApiModelProperty(value = "页面大小，默认20")
    private Integer pageSize = 20;

    public Long getLastId() {
        return lastId;
    }

    public void setLastId(Long lastId) {
        this.lastId = lastId;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
